import request from '@/utils/request'

// 查询基金估值-出资主体列表
export function listDealBfValuationSubject(query) {
  return request({
    url: '/valuationSubject/dealBfValuationSubject/list',
    method: 'get',
    params: query
  })
}

// 查询基金估值-出资主体详细
export function getDealBfValuationSubject(id) {
  return request({
    url: '/valuationSubject/dealBfValuationSubject/' + id,
    method: 'get'
  })
}

// 保存基金估值-出资主体
export function saveDealBfValuationSubject(data) {
  return request({
    url: '/valuationSubject/dealBfValuationSubject/save',
    method: 'post',
    data: data
  })
}

// 删除基金估值-出资主体
export function delDealBfValuationSubject(id) {
  return request({
    url: '/valuationSubject/dealBfValuationSubject/' + id,
    method: 'delete'
  })
}

// 导出基金估值-出资主体
export function exportDealBfValuationSubject(query) {
  return request({
    url: '/valuationSubject/dealBfValuationSubject/export',
    method: 'get',
    params: query
  })
}
